HTMLify

index.html
Views: 111 | Author: cody
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <link rel="shortcut icon" href="assets/form.png" type="image/x-icon">
    <title>Dynamic Form Field</title>
</head>
<body>
    
    <div class="section">
        <h1>Dynamic Form Field</h1>
    <div id="survey_options">
        <input type="text" name="survey_options[]" class="survey_options" size="50" placeholder="Name">
        <input type="text" name="survey_options[]" class="survey_options" size="50" placeholder="Email">
        <input type="text" name="survey_options[]" class="survey_options" size="50" placeholder="Another Field">
    </div>
    <div class="controls">
        <a href="#" id="add_fields">Add</a>
        <a href="#" id="remove_fields" >Remove</a>
    </div>
    <footer>
        <p>&#x3c; &#47; &#x3e; with ❤️ by 
          <a href="https://swapnilsparsh.github.io/">Swapnil Srivastava</a>
          <br> 
          <a href="https://github.com/swapnilsparsh/30DaysOfJavaScript" target="_blank">#30DaysOfJavaScript
          </a>
        </p>
      </footer>
    </div>
    
    <script src="script.js"></script>
</body>
</html>

Comments